{extend  name="Index/index" /}

        <!-- 内容区域 -->
        <div class="tpl-content-wrapper">
            {block name="main"}
            <div class="row-content am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-cf">文章列表</div>


                            </div>
                            <div class="widget-body  am-fr">

                                <form method="post"  action="{:url('admin/article/select')}">
                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">   

                                </div>
                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">  
                                    <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
                                        <input type="text" class="am-form-field " placeholder="输入文章名字"  name="articlename">
                                        <span class="am-input-group-btn">
            <button  type="submit" class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"></button>
          </span>
                                    </div> 
                                </div>
                                  </form>
                                <div class="am-u-sm-12">
                                    <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black " id="example-r">
                                        <thead>
                                            <tr>
                                                <th>ID</th>
                                                <th>文章标题</th>
                                                <th>上传时间</th>
                                                <th>作者</th>
                                                <th>文章图片</th>
                                                <th>文章内容</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                             {volist name="data" id="v" }
                                            <tr class="gradeX">
                                                <td>{$v.id}</td>
                                                <td>{$v.title}</td>
                                                <td>{$v.time}</td>
                                                <td>{$v.author}</td>
                                                <td>{$v.picture}</td>
                                                <td>{$v.matter}</td>
                                                <td>
                                                    <div class="tpl-table-black-operation">
                                                        <a href="">
                                                            <i class="am-icon-pencil"></i> 编辑
                                                        </a>
                                                        <a href="" class="tpl-table-black-operation-del">
                                                            <i class="am-icon-trash"></i> 删除
                                                        </a>
                                                    </div>
                                                </td>
                                            </tr>
                                           {/volist}
                                            <!-- more data -->
                                        </tbody>
                                    </table>
                                </div>
                              
                                <div class="am-u-lg-12 am-cf">

                                    <div class="am-fr">
                                    

                                <ul class="am-pagination tpl-pagination">
                                            <li><a href="?page=1">首页</a></li>
                                            <li class=""><a href="?page=1">&laquo;</a></li>
                                            <li class="am-active"><a href="?page=1">1</a></li>
                                            <li  class="am-active"><a href="?page=2">2</a></li>
                                            <li  class="am-active"><a href="?page=3">3</a></li>
                                            <li><a href="disabled">&raquo;</a></li>
                                             <li><a href="#">尾页</a></li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
    {/block}



    
    {block name="myjs"} {/block}

     <script>
         






     </script>

   {/block}